#!/bin/bash


dispark=' '
for((i=9900;i<=10000;i++));  
do   
    if [ $i == 10000 ]; then
        dispark=$dispark" -p $i:22";
    else
        dispark=$dispark" -p $i:$i";
    fi
done  

docker run -itd $dispark ubuntu:v1
